<div class="panel panel-default panel-intro">

    <div class="panel-heading">
        <div class="panel-lead"><em>独立兑换入口</em>统一的卡密登录入口</div>
        <div class="alert alert-warning-light">
            <p>小程序页面：/pages/card/login</p>
            <p>H5地址：{$h5Domain}/#/pages/card/login</p>
        </div>
    </div>

    <div class="panel-body">
        <div class="widget-body no-padding">
            <form id="feie-form" class="edit-form form-horizontal" role="form" data-toggle="validator" method="POST">
                <table class="table table-striped">
                    <tbody>
                        <tr>
                            <td width="20%">顶部图片</td>
                            <td>
                                <div class="row">
                                    <div class="col-sm-8 col-xs-12">
                                        <div class="input-group">
                                            <input id="c-login_top_img" class="form-control" type="text" name="row[login_top_img]" value="{$row.login_top_img|default='/assets/addons/yungift/img/card_login.jpg'}" title="" data-rule="required">
                                            <div class="input-group-addon no-border no-padding">
                                                <span><button type="button" id="faupload-login_top_img" class="btn btn-danger faupload" data-input-id="c-login_top_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-login_top_img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                                <span><button type="button" id="fachoose-login_top_img" class="btn btn-primary fachoose" data-input-id="c-login_top_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                                <span><button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" data-trigger="hover" title="推荐图片比例：750*480"><i class="fa fa-question-circle text-gray"></i></button></span>
                                            </div>
                                            <span class="msg-box n-right" for="c-login_top_img"></span>
                                        </div>
                                        <ul class="row list-inline faupload-preview" id="p-login_top_img"></ul>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>底部文字</td>
                            <td>
                                <div class="row">
                                    <div class="col-sm-8 col-xs-12">
                                        <input id="c-login_note" class="form-control" type="text" name="row[login_note]" title="" value="{$row.login_note|default=''}" placeholder="" data-tip="">
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>{:__('兑换提示')}</td>
                            <td>
                                <div class="row">
                                    <div class="col-sm-8 col-xs-12">
                                        <textarea id="c-tips" class="form-control" name="row[tips]" title="" placeholder="" style="min-height: 240px">{$row.tips|default=''}</textarea>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>仅验证卡号</td>
                            <td>
                                <div class="row">
                                    <div class="col-sm-8 col-xs-12">
                                        <div class="radio">
                                            {foreach name="yesOrNo" item="vo"}
                                            <label for="row[only_number]-{$key}"><input id="row[only_number]-{$key}" type="radio" name="row[only_number]" title="" value="{$key}" {in name="key" value="$row.only_number|default=0"}checked{/in}>{$vo}</label>
                                            {/foreach}
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                    <tfoot>
                    <tr>
                        <td></td>
                        <td>
                            <div class="layer-footer">
                                <div style="margin: 0 30px;">
                                    <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
                                    <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                                </div>
                            </div>
                        </td>
                    </tr>
                    </tfoot>
                </table>
            </form>
        </div>
    </div>
</div>